package callbacks

import "gitee.com/gobatis/gobatis"

type BeforeCreateInterface interface {
	BeforeCreate(*gobatis.DB) error
}

type AfterCreateInterface interface {
	AfterCreate(*gobatis.DB) error
}

type BeforeUpdateInterface interface {
	BeforeUpdate(*gobatis.DB) error
}

type AfterUpdateInterface interface {
	AfterUpdate(*gobatis.DB) error
}

type BeforeSaveInterface interface {
	BeforeSave(*gobatis.DB) error
}

type AfterSaveInterface interface {
	AfterSave(*gobatis.DB) error
}

type BeforeDeleteInterface interface {
	BeforeDelete(*gobatis.DB) error
}

type AfterDeleteInterface interface {
	AfterDelete(*gobatis.DB) error
}

type AfterFindInterface interface {
	AfterFind(*gobatis.DB) error
}
